package com.zyk.scaffold.user.controller.tenantuser;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("租户信息")
public class TenantInfoResp {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键", required = true)
    @NotNull(message = "ID不能为空!")
    private Long id;

    @ApiModelProperty(value = "租户编码", required = true)
    @NotNull(message = "租户编码不能为空!")
    private String code;

    @ApiModelProperty(value = "租户名称", required = true)
    @NotNull(message = "租户名称不能为空!")
    private String name;

}
